# -*- coding: utf-8 -*-
"""
Spyder Editor


"""
class Point(object):
    
    def __init__(self,x,y):
        self.__x=x
        self.__y=y
        
        
    def __str__(self):
        return  "Point("+str(self.__x)+","+str(self.__y)+")"
    
    
    def __add__(self,other):
        if not isinstance(other,Point):
            raise "other must be Point"
        return Point(self.__x+other.__x,self.__y+other.__y)


    def __truediv__(self,n):
        if not isinstance(n,int):
            raise "n must be integer"
        return Point(self.__x/2,self.__y/2)
    
    
import turtle as tl
